from django.contrib import admin
from .models import *

@admin.register(WorkClass)
class WorkClassTeleAdmin(admin.ModelAdmin):
    list_display = ('id','title','userID')
    
@admin.register(Work)
class WorkTeleAdmin(admin.ModelAdmin):
    list_display = ('id','title','msg','workClass')

@admin.register(WorkUser)
class WorkUserTeleAdmin(admin.ModelAdmin):
    list_display = ('id','state')

@admin.register(WorkIMG)
class WorkIMGTeleAdmin(admin.ModelAdmin):
    list_display = ('id','url','WorkUser')


@admin.register(WorkFile)
class WorkFileTeleAdmin(admin.ModelAdmin):
    list_display = ('id','url','WorkUser')

